<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>demo1</title>
    <script type="text/javascript" src="./vue-2.4.0.js"></script>
</head>
<body>
    <div id="app">
        <p>{{price}} 元</p>
    </div>

    <script type="text/javascript">
    var model = {
        price: 100
    }
    var vm = new Vue({
        el: '#app',
        data: model,
        methods: {
            addHandle: function () {
                this.price++
            }
        }
    })
    </script>
</body>
</html>